package com.atguigu.mapper;

import com.atguigu.dto.system.SysUserDto;
import com.atguigu.entity.system.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserMapper {
    SysUser selectUserInfoByUserName(String userName);

    void remove(long userId);

    void submit(SysUser sysUser);

    void update(SysUser sysUser);

    List<SysUser> page(SysUserDto sysUserDto);
}
